package HomeWork07;

/**
 * @author 李孟琦
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: HomeWork07
 * @ClassName: 007
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/10/9 17:32
 * @Copyright 李孟琦版权所有
 */
public class TestVoter {
    public static void main(String[] args) {
        Voter dio=new Voter();
        dio.setName("迪奥");
        dio.voteFor();

        for (int i = 1; i <= 99; i++) {
            Voter v=new Voter();
            v.setName("v"+i);
            v.voteFor();
        }

        Voter bio=new Voter();
        bio.setName("比奥");
        bio.voteFor();
    }
}
